package com.entity;


import org.apache.ibatis.type.Alias;

/*
 * 附件表
 */
@Alias("Attachment")
public class Attachment extends BaseEntity{
	private static final long serialVersionUID = 1L;

	  public String AttachmentId;//#编号
	  public String AttachmentName ;//#附件名称
	  public String AttachmentFileName;//#附件文件名
	  public String AttachmentSuffix ;//#附件后缀
	  public String AttachmentSize ;//#附件大小
	  public String AttachmentPath  ;//#附件路径
	  public String AttachmentOtherPath ;//#附件其他路径
	  public String UploadTime  ;//#上传时间
	  public Integer Downloads  ;//#下载次数
	  public String AttachmentState ;//附件状态（预留）
	  
	  public String AssociatedName;//虚拟字段关系表名
	  public String AssociatedId;//虚拟字段关系表ID
	  
	public Attachment(String attachmentId, String attachmentName,
			String attachmentFileName, String attachmentSuffix,
			String attachmentSize, String attachmentPath,
			String attachmentOtherPath, String uploadTime, Integer downloads,
			String attachmentState) {
		super();
		AttachmentId = attachmentId;
		AttachmentName = attachmentName;
		AttachmentFileName = attachmentFileName;
		AttachmentSuffix = attachmentSuffix;
		AttachmentSize = attachmentSize;
		AttachmentPath = attachmentPath;
		AttachmentOtherPath = attachmentOtherPath;
		UploadTime = uploadTime;
		Downloads = downloads;
		AttachmentState = attachmentState;
	}
	public Attachment() {
		super();
		// TODO Auto-generated constructor stub
	}
	public String getAttachmentId() {
		return AttachmentId;
	}
	public void setAttachmentId(String attachmentId) {
		AttachmentId = attachmentId;
	}
	public String getAttachmentName() {
		return AttachmentName;
	}
	public void setAttachmentName(String attachmentName) {
		AttachmentName = attachmentName;
	}
	public String getAttachmentFileName() {
		return AttachmentFileName;
	}
	public void setAttachmentFileName(String attachmentFileName) {
		AttachmentFileName = attachmentFileName;
	}
	public String getAttachmentSuffix() {
		return AttachmentSuffix;
	}
	public void setAttachmentSuffix(String attachmentSuffix) {
		AttachmentSuffix = attachmentSuffix;
	}
	public String getAttachmentSize() {
		return AttachmentSize;
	}
	public void setAttachmentSize(String attachmentSize) {
		AttachmentSize = attachmentSize;
	}
	public String getAttachmentPath() {
		return AttachmentPath;
	}
	public void setAttachmentPath(String attachmentPath) {
		AttachmentPath = attachmentPath;
	}
	public String getAttachmentOtherPath() {
		return AttachmentOtherPath;
	}
	public void setAttachmentOtherPath(String attachmentOtherPath) {
		AttachmentOtherPath = attachmentOtherPath;
	}
	public String getUploadTime() {
		return UploadTime;
	}
	public void setUploadTime(String uploadTime) {
		UploadTime = uploadTime;
	}
	public Integer getDownloads() {
		return Downloads;
	}
	public void setDownloads(Integer downloads) {
		Downloads = downloads;
	}
	public String getAttachmentState() {
		return AttachmentState;
	}
	public void setAttachmentState(String attachmentState) {
		AttachmentState = attachmentState;
	}
	
	public String getAssociatedName() {
		return AssociatedName;
	}
	public void setAssociatedName(String associatedName) {
		AssociatedName = associatedName;
	}
	public String getAssociatedId() {
		return AssociatedId;
	}
	public void setAssociatedId(String associatedId) {
		AssociatedId = associatedId;
	}
	@Override
	public String toString() {
		return "Attachment [AttachmentId=" + AttachmentId + ", AttachmentName="
				+ AttachmentName + ", AttachmentFileName=" + AttachmentFileName
				+ ", AttachmentSuffix=" + AttachmentSuffix
				+ ", AttachmentSize=" + AttachmentSize + ", AttachmentPath="
				+ AttachmentPath + ", AttachmentOtherPath="
				+ AttachmentOtherPath + ", UploadTime=" + UploadTime
				+ ", Downloads=" + Downloads + ", AttachmentState="
				+ AttachmentState + "]";
	}
	
	  
}
